[index]

Drag Command

Syntax

drag from <x,y> to <x1,y1>
[with CommandKey | OptionKey | ShiftKey] Description: NOT AVAILABLE IN THE PLAYER The drag command can be used with the Ctrl, Alt, or Shift keys to create additional effects. For example, to select text in a field using the drag command, you must use with shiftkey. In all other cases, using the with option results in the same action as holding down the specified key while dragging.

Notes

You can use the drag command with any tool selected, but drag has no effect on some Paint tools.

Examples

Create a button with the following script: on mouseUp choose rect tool drag from 60,60 to 250,250 choose browse tool end mouseUp
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.